﻿using System.Web.Mvc;

using AMC.SubstitutionCache.Services;

using Orchard;

namespace AMC.SubstitutionCache.Rendering
{
    /// <summary>
    /// Responsible for re-rendering a shape based on the provided ReplacementCacheContext 
    /// </summary>
    public interface ISubstitutionShapeRenderer : IDependency
    {
        /// <summary>
        /// Re-renders a shape based on the provided ReplacementCacheContext 
        /// </summary>
        string GetOutput(SubstitutionContext context, ControllerContext controllerContext);
    }
}